<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<%@ page import="java.util.ArrayList" %>
<%@ page import="java.util.List" %>
<%@ page import="org.apache.commons.dbutils.QueryRunner" %>
<%@ page import="org.apache.commons.dbutils.handlers.BeanListHandler" %>
<%@ page import="com.util.JdbcUtil" %>
<!DOCTYPE html>
<html>
<head>
    <title>酒店管理系统</title>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link href="${pageContext.request.contextPath}/js/5.1.1/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<jsp:include page="/menu/manmenu2.jsp" flush="true">
    <jsp:param name="A" value="style="/>
    <jsp:param name="B" value="color:rgba(255,255,255,0.75)"/>
</jsp:include>
<!-- _____________________________________________________________________________以上导航条 -->
<div class="container-fluid" style="margin-top:100px">
    <div class="container">
        <div class="row clearfix">
            <div class="col-md-12 column">
                <form role="form" action="${pageContext.request.contextPath}/editpeoA" method="post">
                    <div class="form-group" sstyle="margin-top:20px;">

                        <input name="sta" type="hidden" value="1"/>
                        <div style="margin-top:15px;">
                            <FONT style="FONT-SIZE: 25px; COLOR:black;FONT-FAMILY: 楷体; "><B>姓名</B></FONT>
                            <input name="name" type="text" class="form-control"
                                   value="<%=request.getParameter("name")%>" style="height:35px;width:280px;"/>

                            <div style="margin-top;15px;">
                                <FONT style="FONT-SIZE: 25px; COLOR:black;FONT-FAMILY: 楷体; "><B>性别</B></FONT>
                                <%
                                    String sex = request.getParameter("sex");
                                    if (sex.equals("男生")) {
                                %>
                                <input id="exampleInputEmail1" checked="checked" type="radio" name="sex" value="男生">
                                <FONT style="FONT-SIZE: 20px; COLOR:black;FONT-FAMILY: 宋体; "><B>男生</B></FONT>
                                <input id="exampleInputEmail1" type="radio" name="sex" value="女生">
                                <FONT style="FONT-SIZE: 20px; COLOR:black;FONT-FAMILY: 宋体; "><B>女生</B></FONT>
                                <%} else { %>
                                <input id="exampleInputEmail1" type="radio" name="sex" value="男生">
                                <FONT style="FONT-SIZE: 20px; COLOR:black;FONT-FAMILY: 宋体; "><B>男生</B></FONT>
                                <input id="exampleInputEmail1" checked="checked" type="radio" name="sex" value="女生">
                                <FONT style="FONT-SIZE: 20px; COLOR:black;FONT-FAMILY: 宋体; "><B>女生</B></FONT>
                                <%} %>
                            </div>
                            <div style="margin-top:20px;">
                                <FONT style="FONT-SIZE: 25px; COLOR:black;FONT-FAMILY: 楷体; margin-line:150px;"><B>职位</B></FONT>
                                <!--进行读取数据库操作专业 -->


                                <input name="pro" type="text" value="<%=request.getParameter("pro")%>"
                                       class="form-control" style="height:35px;width:280px;"/>

                                <FONT style="FONT-SIZE: 25px; COLOR:black;FONT-FAMILY: 楷体; margin-line:150px;"><B>联系方式</B></FONT>

                                <input οnkeyup="value=value.replace(/[^\d]/g,'') "
                                       onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/[^\d]/g,''))"
                                       id="Text2" name="cls" class="form-control"
                                       value="<%=request.getParameter("cls")%>" style="height:35px;width:280px;"/>
                            </div>


                            <button type="submit" class="btn btn-outline-primary" style="margin-top:15px;">更改人员</button>
                            <a href="${pageContext.request.contextPath}/showhotelA">
                                <button type="button" class="btn btn-outline-primary" style="margin-top:15px;">返回
                                </button>
                            </a>
                            ${st}
                                <%request.getSession().removeAttribute("st"); %>
                </form>
            </div>

        </div>
        <div class="row clearfix">

        </div>
    </div>
</div>


</body>
</html>